;;; packages - package definitions for GNU Guix
;;; Copyright (C) 2017 ng0
;;;
;;; This program is free software: you can redistribute it and/or modify
;;; it under the terms of the GNU Affero General Public License as
;;; published by the Free Software Foundation, either version 3 of the
;;; License, or (at your option) any later version.
;;;
;;; This program is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU Affero General Public License for more details.
;;;
;;; You should have received a copy of the GNU Affero General Public License
;;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

(define-module (ng0 packages mail)
  #:use-module (gnu packages)
  #:use-module (guix packages)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages mail)
  #:use-module (gnu packages gettext))

(define-public neomutt-dev
  (package
    (inherit neomutt)
    (name "neomutt-dev")
    (version "20170414")
    (source
      (origin
        (method url-fetch)
        (uri (string-append "https://github.com/neomutt" "/neomutt"
                            "/archive/neomutt" "-" version ".tar.gz"))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
          (base32
            "1v83s7mq349w97m56jswwl3ghkx4j1182cqx705wm8vgjn2nz72d"))))
    (native-inputs
      `(("gettext-minimal" ,gettext-minimal)
        ,@(package-native-inputs neomutt)))))

